package com.tjhk.demo.mongodb.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

@Data
@Document("localVehicles")
public class LocalVehicles {
        @Field("plate_no")
        String plateNo;
        Double speed;
        Integer angle;
        Integer altitude;
        Integer mileage;
        Double x;
        Double y;
        @Field("collect_time")
        LocalDateTime collectTime;
}